package com.hhf.feiojquestionservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@MapperScan("com.hhf.feiojquestionservice.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.hhf.feiojapiservice.client"})
@ComponentScan(basePackages = {"com.hhf.feiojapiservice","com.hhf.feiojquestionservice"})
public class FeiojQuestionServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeiojQuestionServiceApplication.class, args);
    }

}


